const dom = require("./fsy-dom")
module.exports={
        tabBer(filename){
            dom.get(".tapBar").innerHTML = 
            `<a href="" class=${filename === "index1" ?"on" : "" } >
            <i class="iconfont icon-shouye"></i>首页
            </a>
            <a href="" class=${filename === "run" ?"on" : "" }>
                    <i class="iconfont icon-wode"></i>运动
            </a>
            <a href=""  class=${filename === "mine" ?"on" : "" }>
                    <i class="iconfont icon-xintiao"></i>我的
            </a>`
        }

}